<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新增后台人员</title>
    <link rel="stylesheet" type="text/css" th:href="@{/layui/css/layui.css}">
    <script type="text/javascript" src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script type="text/javascript" th:src="@{/layui/layui.js}"></script>
    <script type="text/javascript" th:src="@{/js/userInfoAdd.js}"></script>
<!--    <script rel="script" type="text/javascript" th:src="@{/js/zhenze.js}"></script>-->
<!--    <script rel="script" type="text/javascript" th:src="@{/js/formVerify.js}"></script>-->
</head>
<body>

<form class="layui-form layui-form-pane" id="AdminForm" action="" method="post" enctype="multipart/form-data" >

<!--            <input name="userId" type="hidden"/>-->
            <div class="layui-form-item">
                <label class="layui-form-label">角色</label>
                <div class="layui-input-block">
                    <select name="roleId" id="parentId" lay-search>
                    </select>
                </div>
            </div>




    <div id="admininfo" style="color:red;"></div>
            <div class="layui-form-item">
                <label class="layui-form-label">用户名</label>
                <div class="layui-input-block">
                    <input name="username" lay-verify="required"  placeholder="请输入用户名" type="text" class="layui-input"
                           maxlength="200"/>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">密码</label>
                <div class="layui-input-block">
                    <input name="password" lay-verify="password" placeholder="请输入密码" type="password" class="layui-input"
                           maxlength="80"/>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">昵称</label>
                <div class="layui-input-block">
                    <input id="nickName" name="nickname" placeholder="请输入昵称" type="text" class="layui-input"
                           maxlength="20" lay-verify="required"/>

                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">邮箱</label>
                <div class="layui-input-block">
                    <input id="userEmail" name="email" placeholder="请输入邮箱" type="text" class="layui-input"
                           lay-verify="email"maxlength="200"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">手机号</label>
                <div class="layui-input-block">
                    <input id="userMobile" name="mobile" lay-verify="mobile"   placeholder="请输入手机号" type="text" class="layui-input"
                           maxlength="80"/>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">备注信息</label>
                <div class="layui-input-block">
                    <input id="note" name="note" lay-verify="required" placeholder="请输入备注信息" type="text" class="layui-input"
                           maxlength="80"/>
                </div>
            </div>

<!--            <div class="layui-form-item">-->
<!--                <label class="layui-form-label">创建时间</label>-->
<!--                <div class="layui-input-block">-->
<!--                    <input  name="creatTime"lay-verify="date" placeholder="创建时间" type="text" class="layui-input"-->
<!--                           maxlength="80" id="test1"/>-->
<!--                </div>-->
<!--            </div>-->

            <div class="layui-form-item">
                <label class="layui-form-label">图片</label>
                <button type="button" class="layui-btn" id="test2">
                    <i class="layui-icon">&#xe67c;</i>上传图片
                </button>
<!--                预览图片-->
<!--                <img class="layui-upload-img" id="demo1">-->
                <input hidden type="text" name="icon"  class="layui-input" value=""/>
                <!--提示上传信息-->
<!--                <p id="demoText"></p>-->
<!--                <input type="file" id="icon" name="icon" class="layui-input " style="width: 50%"><br>-->
            </div>

            <div class="layui-form-item text-right ">
                <div class="layui-inline">
                    <button type="button" id="get" class="layui-btn" lay-filter="menuFormSubmit" lay-submit="">保存</button>
                </div>
            </div>

</form>
</body>

</html>